<template>
  <div>
    <button @click="fun()">点我传值给兄弟b</button>
  </div>
</template>

<script>
import Eventbus from "@/eventBus";
export default {
  methods: {
    fun() {
      Eventbus.$emit("zia", "我是子a的数据！！！");
    },
  },
};
</script>

<style>
</style>